package model;

public abstract class Person
{   private String name;
    private String phone;
    private String cpr;
    private String email;
    private String address;
   
    public Person(String name,String phone,String cpr,String email,String address)
    {
        this.name=name;
        this.phone=phone;
    }
    public void setName(String name)
    { this.name=name;
    }
    public String getName(){
    return name;
    }
    public void setPhone(String phone)
    {
   this.phone=phone;   
    }
    public String getPhone()
    {
   return phone;   
    }
    public void setCPR(String cpr){
    this.cpr=cpr;
    }
    public String getCPR(){
    return cpr;
    }
    public void setEmail(String email){
    this.email=email;
    }
    public String getEmail(){
    return email;    
    }
    public void setAddress(String address){
    this.address=address;
    }
    public String getAddress(){
    return address;
    }
    
    
    
}
  

